<?php
class HeaderWidget extends BaseWidget
{
    public function run()
    {
        $params = array();
        $params['curPage'] = Yii::app()->controller->id.'/'.Yii::app()->controller->action->id;
        $this->render('header', $params);
    }
}